package com.fen.demo012;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author : lrf
 * @description :
 * @tip :
 * @date : 2019/3/22
 */
@Component
public class User12Dao {

    private String lyric = "I can keep the door cracked open, to let light through";

    public User12Dao(@Value("For all my running, I can understand") String lyric) {
        this.lyric = lyric;
    }

    public String getLyric() {
        return lyric;
    }

    public void setLyric(String lyric) {
        this.lyric = lyric;
    }
}
